package reflect;

import reflect.annotations.AutoRunClass;

public class RefelectDemo9 {
    public static void main(String[] args) throws Exception {
        Class<?> c = Class.forName("reflect.Person");
        boolean mark = c.isAnnotationPresent(AutoRunClass.class);
        System.out.println(mark ? "被注解了" : "没有被注解");
        String str = new String();
        System.out.println(str);
    }
}
